const crypto = require('crypto');

const mySign = crypto
      .createHmac('sha256', 'ABCD1649566908768')
      .update('EFGH')
      .digest('base64');

console.log(mySign)